<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="javax.servlet.http.Cookie"%>
<%@page import="java.util.List"%>
<%@page import="qingke.bean.CartOfProduct"%>
<%@page import="qingke.mybatis.pojo.User"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>管理员登陆</title>
<!--头部-->
<link href="${pageContext.request.contextPath }/css/index.css"
	type="text/css" rel="stylesheet" />
<script src="${pageContext.request.contextPath }/js/jquery-1.8.3.min.js"></script>
<script src="${pageContext.request.contextPath }/js/top.js"></script>
<script src="${pageContext.request.contextPath }/js/cart.js"></script>
<style type="text/css">
body {
	padding-bottom: 50px;
}
</style>

</head>
<body>
	<div class="login">
		<div class="login-top">
			<b>管理员登陆</b>
		</div>
		<br />
		<div class="login-input">
			<br>
			<form action="${pageContext.request.contextPath }/adminLogin"
				method="post">
				<table border="0">
					<tbody>
						<tr>
							<td></td>
							<td><label for="user">用户名<sup>*</sup></label></td>
							<td></td>
							<td><input type="text" id="user" name="user" required></td>
						</tr>
						<tr>
							<td></td>
							<td><label for="password">密码<sup>*</sup></label></td>
							<td></td>
							<td><input type="password" id="password" name="password"required "></input></td>
						</tr>
						<tr>
							<td></td>
							<th></th>
							<th></th>
							<th class="remember">
								<%
									String msg = request.getParameter("msg");
									if (msg != null && !"".equals(msg)) {
								%><span style="color: red; text-align: center;"><%=msg%></span>
								<%
									}
								%>
							</th>
						</tr>
						<tr>
							<td></td>
							<th colspan="3"><input type="submit" value="登录"
								class="login-button" role="button"></th>
						</tr>
					</tbody>
				</table>
			</form>
		</div>
	</div>
	<div class="fixed">
		<jsp:include page="foot.jsp"></jsp:include>
	</div>

</body>
</html>